Conversation
Add a quick-reference demo guide for the project-config feature (openspec/config.yaml). This consolidates the demo walkthrough into a standalone document that's easier to use when presenting the feature. Includes: - Summary of what project config does - 6 numbered demo scenarios - Quick all-in-one demo script - Key points to emphasize
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughA new comprehensive documentation file is added detailing the project config feature for openspec/config.yaml, including examples, multi-scenario walkthroughs, and guidance on configuring default schemas, context injection, and per-artifact rules. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~8 minutes Possibly related PRs
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Review CompleteYour review story is ready! Comment !reviewfast on this PR to re-generate the story. |
Greptile SummaryAdds a comprehensive demo guide for the The guide includes:
The documentation is well-structured, technically accurate based on the schema definitions, and provides practical examples that align with the experimental workflow guide. All artifact IDs referenced ( Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant CLI as OpenSpec CLI
participant Config as openspec/config.yaml
participant Schema as Schema System
participant AI as AI Assistant
Note over User,AI: Demo 1: Interactive Setup
User->>CLI: openspec artifact-experimental-setup
CLI->>User: Prompt: Create openspec/config.yaml?
User->>CLI: Yes
CLI->>User: Select schema (spec-driven/tdd)
User->>CLI: spec-driven
CLI->>User: Open editor for context
User->>CLI: Provide tech stack & conventions
CLI->>User: Select artifacts for rules
User->>CLI: proposal, specs
CLI->>User: Enter rules per artifact
User->>CLI: Provide rules
CLI->>Config: Write config.yaml
Note over User,AI: Demo 3: Effect on New Changes
User->>CLI: openspec new change my-feature
CLI->>Config: Read default schema
Config-->>CLI: schema: spec-driven
CLI->>Schema: Use spec-driven schema
Schema-->>CLI: Change created
Note over User,AI: Demo 4: Context and Rules Injection
User->>CLI: openspec instructions proposal --change my-feature
CLI->>Config: Read context & rules
Config-->>CLI: context + proposal rules
CLI->>Schema: Get proposal template
Schema-->>CLI: proposal template
CLI->>CLI: Inject <context> and <rules> tags
CLI->>User: Return enriched instructions
User->>AI: Use instructions to create artifact
AI->>AI: Apply context & rules
AI-->>User: Generated artifact
|
Add a quick-reference demo guide for the project-config feature (openspec/config.yaml). This consolidates the demo walkthrough into a standalone document that's easier to use when presenting the feature. Includes: - Summary of what project config does - 6 numbered demo scenarios - Quick all-in-one demo script - Key points to emphasize
# By Tabish Bidiwale (57) and others # Via GitHub * main: (67 commits) fix(ci): use workflow_dispatch for polish release notes (Fission-AI#533) fix(changelog): convert markdown headers to bold text for proper formatting (Fission-AI#532) Version Packages (Fission-AI#531) Add changeset for project config and schema commands (Fission-AI#530) fix(config): handle null rules field in project config (Fission-AI#529) docs: update workflow docs and mark schema commands as experimental (Fission-AI#526) feat(cli): add schema management commands (Fission-AI#525) fix: Windows path compatibility in resolver tests (Fission-AI#524) change(schema-management-cli): proposal for schema management commands (Fission-AI#523) feat(resolver): add project-local schema support (Fission-AI#522) docs: add project-config demo guide (Fission-AI#521) feat(config): add project-level configuration via openspec/config.yaml (Fission-AI#499) fix: auto-trigger polish release notes on release publish (Fission-AI#519) perf: add path filtering to Nix validation CI job (Fission-AI#518) Version Packages (Fission-AI#517) Add changeset for v0.21 release (Fission-AI#516) fix: prevent implementation during explore mode (Fission-AI#515) OPSX apply: infer target change (Fission-AI#513) Refine opsx archive sync assessment (Fission-AI#514) feat: add nix flake support (sorry for this duplicate) (Fission-AI#459) ... # Conflicts: # src/core/templates/slash-command-templates.ts
Summary
openspec/config.yamlfeatureContent
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.